/*
 * rx2_functions.h
 * Created on August 5, 2005; 6:05 PM
 * by vramadurai
 */
#ifndef _RX2_FUNCTIONS_H_
#define _RX2_FUNCTIONS_H_

#include "HsTypes.h"

void crc_2bit(
                hs_uint8_t ucDemodBitSeq,
                hs_uint32_t * piCrc32Table_2bit,
                struct HS_Phy11bStr  *HS_Phy11bPtrTh
             );

hs_uint8_t carrier_offset_2mbps(
                                    hs_int16_t ssRxSymbI,
                                    hs_int16_t ssRxSymbQ,
                                    struct HS_Phy11bStr  *HS_Phy11bPtrTh
                                );

hs_uint8_t descramble_2mbps(
                                hs_uint8_t ucTempBit,
                                hs_uint8_t * restrict pucStateTable2Bit,
                                struct HS_Phy11bStr  *HS_Phy11bPtrTh
                            );

void
wlan_do_2mbps(
                struct HS_Phy11bStr  *HS_Phy11bPtrTh,
                ePHYSTATES_TH *ePhyState,
                hs_int32_t NSymbols,
                hs_int16_t *ssSineCosineTable
             );


#endif
